package com.atguigu.cmsService.client.impl;

import com.atguigu.cmsService.client.IndexClient;
import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

@Component
public class IndexClientImpl implements IndexClient {

    private R result() {
        return R.error("暂时无法提供服务,请稍后重试");
    }

    @Override
    public R getTeacherAndCourse() {
        return result();
    }
}
